Platform Explorer / Nuxeo Platform 2021.61

Contribution org.nuxeo.ecm.multi.tenant.listeners--listener

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.listeners inside nuxeo-multi-tenant-core-2021.61.12.jar /OSGI-INF/listeners-contrib.xml

Extension Point

Extension point listener of component EventServiceComponent.

Registration Order

17
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.MultiTenantListener" name="multiTenantListener" postCommit="false" priority="150">
          <event>documentCreated</event>
          <event>documentCreatedByCopy</event>
          <event>documentRemoved</event>
          <event>lifecycle_transition_event</event>
          <event>documentTrashed</event>
          <event>documentUntrashed</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.TenantAdministratorsListener" name="tenantAdministratorsListener" postCommit="false" priority="100">
          <event>beforeDocumentModification</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.acl.ACLUpdateListener" name="multiTenantACLListener" postCommit="false" priority="150">
          <event>beforeDocumentSecurityModification</event>
        </listener>

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.MultiTenantListener" name="multiTenantListener" postCommit="false" priority="150">
      <event>documentCreated</event>
      <event>documentCreatedByCopy</event>
      <event>documentRemoved</event>
      <event>lifecycle_transition_event</event>
      <event>documentTrashed</event>
      <event>documentUntrashed</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.TenantAdministratorsListener" name="tenantAdministratorsListener" postCommit="false" priority="100">
      <event>beforeDocumentModification</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.acl.ACLUpdateListener" name="multiTenantACLListener" postCommit="false" priority="150">
      <event>beforeDocumentSecurityModification</event>
    </listener>

  </extension>